* {
    font-family: Arial, Sans-Serif;
    padding: 0px;
    margin: 0px;
}
h2 {
    font-size: 22px;
}
input[type="text"], input[type="password"], textarea {
    border: 1px solid #ddd;
    padding: 4px;
    margin-bottom: 7px;
}
body {
    font-size:12px;
    background-image: url('../images/texture.jpg') !important;
}
.wrapper {
    margin: 0px 50px;
}
.content-wrapper {
    margin: 0px 50px;
}
.clear {
    clear: both;
}
.left {
    float: left;
}
.right {
    float: right;
}
#logo {
    float: left;
    color: whitesmoke;
    font-weight: bold;
    font-size: 31px;
    letter-spacing: -1px;
}
#top-bar {
    background: #3f76c1;
    height: 36px;
    width: 100%;
    z-index: 100;
    border-bottom: 2px solid white;
    box-shadow: 0px 1px 4px #999;
    position: fixed;
    top: 0px;
}
#top-bar a {
    color: #eee;
    font-size: 13px;
}
#top-bar a.login-link {
    padding: 3px 2px;
    border-radius: 4px;
    color: white;
    text-decoration: none;
}
#header {
    position: relative;
    z-index: 1;
}
#upload-button {
    padding: 4px 16px;
    margin-right: 8px;
    margin-top: 5px;
    border-radius: 2px;
    background-image: -ms-linear-gradient(top, white, #eee);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#eee));
    background-image: -webkit-linear-gradient(top, white, #eee);
    background-image: -o-linear-gradient(top, white, #eee);
    background-image: linear-gradient(top, white, #eee);
    background-image: -moz-linear-gradient(top, white, #eee);
    border: none;
    color: #3f76c1;
    text-shadow: none;
    float: right;
}
#upload-button:hover {
    background-image: -ms-linear-gradient(top, #eee, white);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eee), to(white));
    background-image: -webkit-linear-gradient(top, #eee, white);
    background-image: -o-linear-gradient(top, #eee, white);
    background-image: linear-gradient(top, #eee, white);
    background-image: -moz-linear-gradient(top, #eee, white);
}
#main-menu {
    display: inline-block;
    float: right;
}
#main-menu ul {
    list-style: none;
    border-radius: 7px;
    padding-bottom: 0px;
}
#main-menu ul li {
    float: left;
    padding: 3px 7px;
    margin: 7px 0px;
}
#main-menu ul li a {
    font-size: 13px;
    text-decoration: none;
    color: white;
    margin: 0px 6px;
}
#main-menu ul li a:hover {
    text-decoration: underline;
}
#login {
    float: right;
    padding-top: 4px;
    padding-right: 5px;
    width: 250px;
    text-align: right;
    color: #d6b59a;
    display: none;
}
#login-form {
    position:absolute;
    background: white;
    width: 197px;
    z-index:99;
    padding: 15px 20px 25px 20px;
    border: 2px solid black;
    border-radius: 4px;
    margin-top: 8px;
    box-shadow: 0px 0px 10px #222;
}
#login-form input[type="text"], #login-form input[type="password"] {
    width: 190px;
    margin-bottom: 10px;
    padding: 5px 3px;
    border-radius: 2px;
}
#login-button-side, #login-link-side { text-align: left;margin-bottom: 20px;}
#login-button-side .loginButton {float: right;}

#login-link-side a 
{
    color: blue;
    font-weight:normal;
}

#login-link-side .forgetLink {
    float: left;
    color:red;
    padding: 5px;
    position: absolute;
    padding-left: 16px;
    margin-left: -20px;
    background: #ffc9cb;
    padding-right: 10px;
}
#login-link-side .regLink {
    float: right;
    padding: 5px;
    padding-left: 18px;
    padding-right: 20px;
    margin-right: -19px;
    text-decoration: underline;
}

#top-search-bar {
    color: #EEE;
    float: right;
    margin-right: -20px;
}
#top-search-bar input {
}
#top-search-bar input[type="text"] {
    padding: 5px 6px;
    width: 316px;
    font-size: 13px;
    border: 1px solid #633713;
    border-radius: 2px;
    margin-top: 4px;
}
#top-search-bar input[type="submit"]:hover {
    cursor: pointer;
}
#top-search-bar input[type="submit"]
{
    padding: 2px 5px 2px 23px;
    background-image: url("../images/search.png");
    background-position: 4px top;
    background-repeat: no-repeat;
    background-color: transparent;
    border: none;
    position: relative;
    left: -34px;
    border-left: 1px solid #888;
    color: white;
    width: 20px;
}
#menu-bar {
    background: #019ED3;
    height:25px;
}
#container {
    padding: 10px 20px;
    background: white;
    border: 1px solid #ddd;
}
.container {
    margin:0 auto;
    padding: 20px 0px;
}
#main {
    margin-top: 45px;
}
#main-content {
    padding: 10px 20px;
    min-height: 453px;
}

#footer {
    background: #3f76c1;
    border-top: 4px solid white;
    box-shadow: 0px -1px 5px #222;
    margin-top:20px;
}

#footer-content {
    padding: 20px;
    color: white;
    font-size: 13px;
}

.input-error {
    border: 1px solid red!important;
    box-shadow: 0px 0px 7px #FFC9CB;
}

span.error, .errorMessage {color:red;}
.left {float:left;}

div.errorMessage {
    position: relative;
    top: -6px;
}

.button_tag {
    text-decoration: none;
    color: #0063DC;
    border: 1px solid #F0F0F0;
    color: #444;
    display: inline-block;
    background: -webkit-gradient(linear,left top,left bottom,from(#FBFBFB),to(#F4F4F4));
    background: -moz-linear-gradient(top,#FBFBFB,#F4F4F4);
    padding: 4px 9px;
    border-radius: 6px;
    margin-left: 5px;
}
.btn:hover {
    color: white;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn {
    display: inline-block;
    padding: 4px 10px 4px;
    margin-bottom: 0;
    font-size: 13px;
    line-height: 18px;
    color: #333;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: whiteSmoke;
    background-image: -ms-linear-gradient(top, white, #E6E6E6);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(white), to(#E6E6E6));
    background-image: -webkit-linear-gradient(top, white, #E6E6E6);
    background-image: -o-linear-gradient(top, white, #E6E6E6);
    background-image: linear-gradient(top, white, #E6E6E6);
    background-image: -moz-linear-gradient(top, white, #E6E6E6);
    background-repeat: repeat-x;
    border: 1px solid #CCC;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    border-color: #E6E6E6 #E6E6E6 #BFBFBF;
    border-bottom-color: #B3B3B3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
    filter: progid:dximagetransform.microsoft.gradient(enabled=false);
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);
}
.list-view .sorter {
    width: 60px;
    float: right;
    background: #EEE url("../images/down.gif") 71px 13px no-repeat;
    padding: 7px 16px 7px 13px;
    text-align: left;
    border-radius: 5px;
    border: 2px solid white;
}
.list-view .sorter:hover ul {
    display:block;
}
.list-view .sorter ul {
    display: none;
    position: absolute;
    width: 110px;
    margin-left: -36px;
    background: white;
    border-radius: 2px;
    margin-top: 9px;
    border: 1px solid #eee;
    box-shadow: 2px 2px 2px #aaa;
    z-index: 100;
}
.list-view .sorter ul li {
    display: block;
    float: left;
    margin: 0px;
}
.list-view .sorter ul li a {
    text-decoration: none;
    display:block;
    width: 88px;
    padding: 6px 0px 6px 23px !important;
    background-position: 9px center !important;
}
.list-view .sorter ul li a:hover {
    background-color: orange; 
}
